#ifndef _APP_DESKTOP_H
#define _APP_DESKTOP_H

#include<gui.h>

#define MOUSE_CURSOR_DIR "/system/cursors"
#define BACKGROUND_IMAGE_NAME "/system/background/picture.jpg"
#define PROGRAM_DIR "/system/program" 

typedef struct 
{
    gui_spirit_t *window;
    list_t icon_list;
    int icon_x;
    int icon_y;
}gui_desktop_t;

extern gui_desktop_t desktop;

void desktop_main();
void desktop_exit();
int desktop_init();
int desktop_load_background(const char *path);
void desktop_launch(const char *path,char *arg);


#endif 